/**
 * 
 */
package com.kunbo.cn.dao.core.handset;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

import com.kunbo.cn.entity.core.handset.HandsetUsers;

/**
 *
 * @author bjl  
 * @date 2019年3月17日 
 */
public interface HandsetUsersDao extends  CrudRepository<HandsetUsers, String>,JpaSpecificationExecutor<HandsetUsers> {
	//根据用户名和密码获取当前手持机用户
	HandsetUsers findByAccountAndPassword(String account,String password);
	
	//根据名称获取当前登录用户
	HandsetUsers findByName(String name);

}
